from django.db import models

# Create your models here.

class User(models.Model):

     email = models.EmailField(verbose_name='邮箱')
     nickname = models.CharField(max_length=10, verbose_name='昵称')
     password = models.CharField(max_length=32, verbose_name='密码')

     def __str__(self):
         return seft.nickname